package com.imc.beans;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TbCorpinfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_corpinfo", catalog = "imcdbserver")
public class TbCorpinfo implements java.io.Serializable {

	// Fields

	private String corpId;
	private String corpPwd;
	private String corpCharacter;
	private String corpName;
	private String corpPerson;
	private String corpAddr;
	private String corpLinkman;
	private String corpLinkmobile;
	private String corpLinkphone;
	private String corpPaymobile;
	private short corpStatus;
	private Date corpRegtime;

	// Constructors

	/** default constructor */
	public TbCorpinfo() {
	}

	/** full constructor */
	public TbCorpinfo(String corpPwd, String corpCharacter, String corpName,
			String corpPerson, String corpAddr, String corpLinkman,
			String corpLinkmobile, String corpLinkphone, String corpPaymobile,
			short corpStatus, Date corpRegtime) {
		this.corpPwd = corpPwd;
		this.corpCharacter = corpCharacter;
		this.corpName = corpName;
		this.corpPerson = corpPerson;
		this.corpAddr = corpAddr;
		this.corpLinkman = corpLinkman;
		this.corpLinkmobile = corpLinkmobile;
		this.corpLinkphone = corpLinkphone;
		this.corpPaymobile = corpPaymobile;
		this.corpStatus = corpStatus;
		this.corpRegtime = corpRegtime;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "corp_id", unique = true, nullable = false, length = 50)
	public String getCorpId() {
		return this.corpId;
	}

	public void setCorpId(String corpId) {
		this.corpId = corpId;
	}

	@Column(name = "corp_pwd", length = 100)
	public String getCorpPwd() {
		return this.corpPwd;
	}

	public void setCorpPwd(String corpPwd) {
		this.corpPwd = corpPwd;
	}

	@Column(name = "corp_character", length = 200)
	public String getCorpCharacter() {
		return this.corpCharacter;
	}

	public void setCorpCharacter(String corpCharacter) {
		this.corpCharacter = corpCharacter;
	}

	@Column(name = "corp_name", length = 100)
	public String getCorpName() {
		return this.corpName;
	}

	public void setCorpName(String corpName) {
		this.corpName = corpName;
	}

	@Column(name = "corp_person", length = 50)
	public String getCorpPerson() {
		return this.corpPerson;
	}

	public void setCorpPerson(String corpPerson) {
		this.corpPerson = corpPerson;
	}

	@Column(name = "corp_addr", length = 200)
	public String getCorpAddr() {
		return this.corpAddr;
	}

	public void setCorpAddr(String corpAddr) {
		this.corpAddr = corpAddr;
	}

	@Column(name = "corp_linkman", length = 50)
	public String getCorpLinkman() {
		return this.corpLinkman;
	}

	public void setCorpLinkman(String corpLinkman) {
		this.corpLinkman = corpLinkman;
	}

	@Column(name = "corp_linkmobile", length = 30)
	public String getCorpLinkmobile() {
		return this.corpLinkmobile;
	}

	public void setCorpLinkmobile(String corpLinkmobile) {
		this.corpLinkmobile = corpLinkmobile;
	}

	@Column(name = "corp_linkphone", length = 30)
	public String getCorpLinkphone() {
		return this.corpLinkphone;
	}

	public void setCorpLinkphone(String corpLinkphone) {
		this.corpLinkphone = corpLinkphone;
	}

	@Column(name = "corp_paymobile", length = 30)
	public String getCorpPaymobile() {
		return this.corpPaymobile;
	}

	public void setCorpPaymobile(String corpPaymobile) {
		this.corpPaymobile = corpPaymobile;
	}

	@Column(name = "corp_status")
	public short getCorpStatus() {
		return this.corpStatus;
	}

	public void setCorpStatus(short corpStatus) {
		this.corpStatus = corpStatus;
	}

	@Column(name = "corp_regtime", length = 19)
	public Date getCorpRegtime() {
		return this.corpRegtime;
	}

	public void setCorpRegtime(Date corpRegtime) {
		this.corpRegtime = corpRegtime;
	}

}